import request from '@/utils/request'


/**
 * 分页查询日志
 * @param {} current 
 * @param {*} size 
 * @param {*} logVO 
 * @returns 
 */
export function findLogPage(current,size,logVO){
    return request({
        url: '/log/findLogPage',
        method: 'post',
        params: {
            current,
            size
        },
        data: logVO
    })
}

/**
 * 根据id删除文件
 * @param {} id 
 * @returns 
 */
export function deleteLogById(id){
    return request({
        url : '/log/deleteLogById',
        method: 'post',
        params: {
            id
        },
    })
}

/**
 * 根据id批量删除文件
 * @param {} ids 
 */
export function deleteLogsByIds(ids){
    return request({
        url: '/log/deleteLogsByIds',
        method: 'post',
        params: {
            ids
        },
    })
}